package com.tanxi521.tnweb.mapper;

import com.tanxi521.tnweb.model.PlayerLevel;
import com.tanxi521.tnweb.model.PlayerLevelWithBLOBs;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PlayerLevelMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PlayerLevelWithBLOBs record);

    int insertSelective(PlayerLevelWithBLOBs record);

    PlayerLevelWithBLOBs selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PlayerLevelWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(PlayerLevelWithBLOBs record);

    int updateByPrimaryKey(PlayerLevel record);

    List<PlayerLevelWithBLOBs> selectByPlayerName(String userId);
}